************************************** * Algorithm **************************************/ Perform a depth first search from the given node and apply the given function to each node.
(g *Graph, current int, visited set, visitFunction func(int))
source not stored for this graph (policy: none)