pong for an assignment in Comp Sci