Add chapter 4 examples