Adding chapter 8 code examples.