added solution for Reproducible Research PeerAssessment1