Complete ch.10 exercises