Implementation of functions makeCacheMatrix and cacheSolve to save the inverse of a matrix in cache