update assignment : caching inverse of a matrix