WorkingTrie

Working Trie algorithm