add #1 exercise PingPong in java