Worked on the Problem 2.