Implement The Iterative Depth First Search Algorithm With Examples