Trie implementation in Go