Solution for problem 38
Solution for problem 39