This commit involved creating a pair of functions to generate and cache inverse of a matrix