added the final exercises for chapter 6