Updated ball.cpp

Updated how many hits the ball has to have to increase speed.
Updated functions doc.(Still incomplete!)