Complete ch.7 exercises