Finish chapter 6 exercises