added string trie constructors inspired by StringPrefix class