Pong written in Java