adding pong chu book example code