Some more notes on chapter 2
Marsland's source code