4.2

4.2, using the breadth_first search of a graph, using the isVisited
flag for a vertex. Cause there may be a loop for a graph, not like the
tree.