commit cachematrix.R code for Programming Assignment 2