problem2 cpp complete
problem 4 cpp done