Hamiltonian circuits in some maps on the torus