Java implementation of Pong