Solution for problem2 added
Started with problem 3