working on chapter 8

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
some corrections to the Makefile and gitignore

Signed-off-by: Alexander Skjolden <alex@plastboks.net>