Worked on Problem 14