Autocomplete engines that create string trees based on user text input and offer suggestions according to past input