Finished in-class exercise.