UVaOJ 280 - Vertex (Graph Traversal)