chapter 5 examples
chapter 6 examples

and slight mod to chapter 5