add string search algorithm