Adding the functions that create a special matrix and cache's its inverse matrix