Putting first own version of cachematrix.R for PeerAssessment