Update cachematrix.R

makeCacheMatrix is called first to create a matrix, then cacheSolve to cache its inverse