added code to plot multiple years for problem 1