Finished Problem 4