Fixed typos in chapter 4