Finished Problem 22