Finished CH.5 exercises