Complete ch.9 exercises