adding Chapter 6 exercises