Finish exercises on Chapter 6