Java Applet "Moving car with graphed position to show linear sinusoidal motion"