
Algorithm
Starting at some arbitrarily chosen vertex s (s stands for start vertex) , we mark v so that we know we've visited it, process v, and
then visit i.e. mark the vertex as visited and process all of v's neighbors.
Now that we've visited and processed all of v's neighbors,
we need to visit and process all of v's neighbors neighbors
Example
So consider the tree:
1
/ \
2 3
/ \ / ...