IOOPM, creating Pong in Java