Apriori frequent set mining algorithm implemented in Haskell