First commit with Trie working