Finishing chapter 5
added samples for chapter 10