got items method to return all the letters in the Trie