Initial version of the Apriori algorithm.