Implement The Iterative Depth First Search Algorithm Tree