A basic clone of pong written in java