Eric's apriori-like algo (without constraints)