Initial commit of Chapter 3 code