trie implementation in go