Completed Problem #2.