Homework 7 skeleton.