Removed duplicate sub-categories when parsing csv and added output to ec...

...lat and apriori.