powered by
check if last edge
is_last(i, v, edges)
integer, current frontier
integer, vertex to search for
edgelist matrix
bool