updated enemy movement to use it's x position to calculate the y position using a sine wave