finish exercises 9.1-9.4
finish ch 9 exercises