added util module
added trie implementation and tests