An implementation of the Apriori Algorithm