Added the functions related to caching the inverse of a special matrix