private static void printStep(Step step) { System.out.println(String.format("from: %s to: %s", step.getFromPeg(), step.getToPeg())); }
public static int calculateHelpPeg(Step step) { return 6 - step.getFromPeg() - step.getToPeg(); }
public static Step getHelpStep(Step step) { return new Step(step.getFromPeg(), calculateHelpPeg(step)); }