class project 2 for https://class.coursera.org/exdata-003