Adding solution for problem 22
Add solution for problem 43 and 45