Add examples for chapter 16