Fixed typos in chapter 3