Adding function to search through trie, change walking funtion to return a list