Created an unpolished version of autocomplete.