added handlers to makeCacheMatrix