public static void start() {
        while (true) {
            x = new Peg("A", diskCount, diskCount);
            y = new Peg("C", diskCount, 0);
            z = new Peg("B", diskCount, 0);
            moveCount = 0;
            //actions.removeAllElements();
            doStep = false;
            doContinue = false;
            doReset = false;
            solved = false;

            switch (currentSolutionType) {
                case 0:
                    currentSolution = new RecursiveSolution(x, y, z, diskCount);
                    break;
                case 1:
                    currentSolution = new IterativeSolution(x, y, z, diskCount);
                    break;
            }

            da.setSource(currentSolution.getActions());
            startedAt = new Date();
            currentSolution.start();

            //System.out.println("start() end");
        }
    }