Animated movement
Ball is allowed to move in only four directions:
When the ball hits a wall:
Continues to bounce until user presses the Esc key.