UVaOJ 168 - Theseus and the Minotaur (Graph Traversal)