My pong code in java