Fixed the example code for Graph Traversal.