ball bounces with gravity

ball bounces to height less than the original y value
added comments

added comments to each step of the program