added reset to SearchGraph
changed TestDepthFirstSearch : added test of reset