Started implementing collision detection for the ball