Refactored pong example into tutorials.