functional Trie now i need to insert subtrees