An algorithm to visit every vertex on a graph.