Hamiltonian Graph Builder