add a string trie implementation that works

(I think!)