Finished Problem 1.c.