Implemented NFA to DFA algorithm using search trie: Memory corruption at trie->root after iteration 2.