Updated nfa_step and tree-related functions. Headers and NFA/DFA initialization are not updated yet.
Algorithm updated to NW-NFA with ternary trie encoding. DFA bugs fixed.
Sequential read instead of memory mapping. Now supporting stdin. Added prefix option. Cleaned code.
Merge branch 'single-thread'