Modified main to handle new trie-nfa. Created structs and some functions for nfatrie, hitstack and hitbuffer.