Updating cachematrix.R with makeCacheMatrix and cacheSolve