adding chapter 10 examples and exercises'