work for quiz4 of coursera's Getting and Cleaning Data