Restoring plot1.R with Project 1 version