Updated makeCacheMatrix and cacheSolve