Apriori algorithm implemented on Spark.