created makeCacheMatrix function