added more chapter 7 example code
initial commit