This program animates a bouncing ball by continually moving the ball, finding out if it bounces against a wall, and then redrawing it.