wrote the makeCacheMatrix and cacheSolve