second assignment for Coursera's Reproducible Research course