Added variable ball speed and cleaned code a bit