Updated the makeCacheMatrix and cacheSolve functions