Added examples for chapter 5