Depth First Search Algorithm Python Coder Platform