find_neighbor function