Create ITrieBase.h 

TrieChild.h TrieChildren.h Trie.h will inheritance based on ITrieBase