Fixed typos in chapter 6, 7

I somehow screwed up the syncing of my fork, but I hope the pull request is still alright, though... sorry!