Adding a basic Trie implementation