Finished chapter 3 with exercises