Adding chapter 4 examples.