A pong game written in java using awt