changes to 7.1
finished all examples in chapter 6 and fixed typos in chapter 6 and 7.1
changes to 7.2