Finishing up coding examples for Chapter1