added the rest of chap 7 example code
initial commit