problem 3 solved
problem 4 solving