adding first attempt at autocomplete function
adding handling no results of autocomplete return empty array
adding an additional get word test, and switching to use trie instead of array