Bouncing Ball Simulation Implemented using C++.NET