Finish chap 9 exercises