Finish chapter 8 exercises