added sine wave program to be used in the helicopter game