edition aand creation of the functions that caches the inverse of a matrix