problem 3 solution
problem 4 solution