Adding solutions for some of the problems