Finished Problem 31.