public static String atbash(String code) {
        char[] codeline = code.toCharArray();
        String result = "";
        for(int i = 0; i < codeline.length; i++) {
            if(codeline[i] >= 'a' && codeline[i] <= 'z') {
                codeline[i] = (char) ('z' - (codeline[i] - 'a'));
            }
            else if(codeline[i] >= 'A' && codeline[i] <= 'Z') {
                codeline[i] = (char) ('Z' - (codeline[i] - 'A'));
            }
            result += codeline[i];
        }
        return result;

    }