Collision detection for ball and paddle first version