public Solve ExactAlg(){       
        formGraph();
        HashSet<Integer> qp = new HashSet();
        HashSet<Integer> qm = new HashSet();
        for (int i = 0; i <size;i++)
            qp.add(i);
        Find(0,qp,qm);
        for (HashSet<Integer> mas : sets){
            for (int el : mas){
                System.out.print(el + " ");
            }
            System.out.println();
        }
        System.out.println("----------------------");
        //for (int i = 0; i < sets.size();i++)
          //  backtrack(i);
        for (int i = 0;i<sets.size();i++)
            bestSolve.add(i);
        backtrack(0);
        formSolve();
        return vec;
    }