Updating chapter 2, and fixing typo in chapter 1