search: search algorithm is functional, recipe array and query in, results out