Finish capter 8 exercises