End of Exercises Chapter 6