Completed problem 13.