Added Chapter 6 examples