Added Chapter 6 exercise 1