added figures for problem 1