Added method to return a vector of strings given a prefix trie.