changed variable names, 'm' to 'inv' in cacheSolve