Solution of Problem 3 is added