Updated the makeCacheMatrix and the cacheSolve function