basic pong implementation with AI player 2