Course project 2 for the Reproducible Research course on Coursera