Chapter 6 commit, with some minor changes in Chapter 5 and README.md