Middel of chapter 10, this does not compile

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
fixed up the errors stopping compiling midway in chapter 11

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Merge branch 'develop'