Add Depth-First-Search Algorithm