Generic patricia tree (also called radix tree) implemented in Go (Golang)