Adding skeleton of problem 2