solution to programming assignment in the Getting and Cleaning Data class