First commit of trie files

according Makefile as well
also need a lot of testing