DESIGN AND IMPLEMENTATION OF A PURE SINE WAVE