added function appendOntologies(vector<pair<string, string>> * normalized_transactions)
--NOTE: as it is too slow, it was modified, dependent on the sort() in main
test file updated with appendOntologies()
now adding ontologies information to transactions