Third Commit

Added a counter for to control the speed of platform and the ball.