Caching an inverse matrix

function that compute and/or cache the inverse of a set matrix