created method nextXposition and refactored the hit paddles