Completed the bouncing ball demo