R scripts and output png files for course project 1