Adding cacheMatrix.R

Adding updated cacheMatrix file