creating tidy data

R script required to create the tidy data file as specified for the
course project