Sine Wave Generator Program