add trieTree class