Adding buildTidyDataAvg function that creates the final tidy data set