Complete version of the Apriori algorithm.