Added comments and specifications to trie converter