fixed typos in chapter 7
fixed typos in chapter 6