add closed patern mining and max pattern mining