@Override
    public void showResultsOfExperiment(Map<String, Long> map) {

        if (map == null) {
            System.out.printf("\n%s", "Some thing went wrong!!! ");
            setPause(3);
            getSettingsForExperiment();
        } else {

            System.out.printf("\n%s", "Displaying results:");
            setPause(2);
            Iterator it = map.entrySet().iterator();

            while (it.hasNext()) {
                Map.Entry pairs = (Map.Entry) it.next();
                System.out.printf("\n\t%s", pairs.getKey() + " : " + pairs.getValue() + " milliseconds");
                it.remove();
                setPause(1);
            }
        }
    }