Add chapter 6 examples