Implement cacheMatrix which cache its inverse