My version of cachematrix.R for the Programming Assignment 2 of the R Programming Course, on Coursera.