Continued working on planarity testing, nonrecursive implemntation of dfs