edited file, whose functions create a cached inversion of a matrix