Add examples for Chapter 8