Scala implementation of Apriori Algorithm