Graph Traversal Algorithms In Python