finished chap 10 exercises