Update GraphTraversal.java