java version of the Pong Game