Depth First Search Algorithm Without Recursion