[Suffix tree] Completed the suffix trie part