Finish chapter 5 exercises