Upating CacheMatrix.R for R Programming /  Programming Assignment 2  Coursera rprog-007