Updated main.cpp

Added Paddle and Ball classes, introduced collision detection.