Commit of completed cachematrix.R for R Programming assignment #2