finished chapter 10
removed extra end
fixed spelling error
removed whitespace
removed == true
shovelling in 2 instead of setting 2
removed unneded false
added missing code to line 43
Merge pull request #2 from LNA/chapter_10_edits

finished chapter 10