Started to work on the exercises at the end of chapter 9 of the tutorial