Filled body of makeCacheMatrix() and cacheSolve() functions