Sine wave function in python turtle