Completed Problem 8.