Edits from Adv Exercises in Chapter 3 and finished Chapter 4