first version of search algorithm that uses keywords and cities