pong abstraction to function movePaddles
refractor from ball movement