private static String space(Boolean left, Boolean concat, int spaces, char c, String... input) {
	String output = "";
	for (String x : input) {
	    output = output + x;
	}

	if (spaces < 4) {
	    spaces = 4;
	}

	if (concat && output.length() > spaces) {
	    output = output.substring(0, spaces / 2 - 2) + "..."
		    + output.substring(output.length() - (spaces / 2 - 1));
	}

	spaces = spaces - output.length();
	for (int i = 0; i < spaces; i++) {
	    if (left) {
		output = c + output;
	    } else {
		output = output + c;
	    }
	}

	return output;
    }