Fixed a few bugs in the code, and misprints in the text
Fixed missing end of code listing
Merge pull request #22 from gahjelle/07En

Fixed a few misprints in lesson 7