Deleted unnecessary code in ball.cpp