finished plot1.R and produced plot1.png