collision with paddle and ball

add rectCollision function that checks if two rectangles are colliding, and add code to reverse ball velocity if it hits the paddle in the ball update function