Completed file cachematrix.R for R Programming class at Coursera.
Programming Assignment 2 for peer review.