Adding code for part 1 of programming assignment 1 : pollutantmean.