Discrete Math: Find the shortest Hamiltonian circuits starting at vertex A in the weighted graph