Implemented ball-vs-paddle collision detection