chapter 3 commits
chapter 3 fixes
finished chapter 3