Save intermediate result
Add rule generation
Move apriori in a function
Add mining file