modified to use stdin and real sine wave
adding new file that plots sine wave