As per programming assignment 2, implemented 2 functions to create a matrix with cacheable inverse and retrieve the inverse of this object first from cache otherwise compute and return the inverse