Renamed class to HamiltonianPath, not to be confused with the Hamiltonian property, which is handled by HamiltonianCycle