Course Project 1 - R functions to generate plot PNG files