problem-5 solution is added
problem-6 solution is added