All examples for chapter 3