Review: DFS Code
DFS(G)
{
for each vertex u G->V
{
u->color = WHITE;
}
time = 0;
for each vertex u G->V
{
if (u->color == WHITE)
DFS_Visit(u);
}
}