Completed the makeCacheMatrix and the cacheSolve function