Finished chapter 8 plus bug fix
Fixing errors
Finished Chapter 8