functioning search_arrays exercise