Improved Bouncing Ball example - put into module, and fixed bouncing bug