script for performing the analysis in the Getting Data Course Project