Added implementation of Bouncing ball