partial solution to chapter 9 exercise
exect last, finished with chapter 10 exercises
Finished chapter 11