Modify the makeCacheMatrix and cacheSolve function