How can I make a simple AI for a pong game?