week-10 problem-1 solved.