Python Depth-first-search Resources