hamiltonian circuit