Identify Eulerian and Hamiltonian paths/circuits (#703)