Finished Problem 1.