problem-7 solution is added
problem-8 solution is added