Update chapter 2

Updates to chapter 2
Update to chapter 3

Update to chapter 3