adding new versions for Trie data structure using macros