Creating a Ball class to Model a moving ball. The class will have four private data members (x, y, xSpeed, ySpeed) to maintain the position and speed of the ball.