added javadoc comments, and pong tester