public String getScrambledWord(int idx) {
        String c = WORD_LIST[idx];
        Random rnd = new Random();
        String[] a = new String[c.length()];
        char f = 0;
        String g = "";
        String[] b = new String[100];
        String e = "";
        for(int i = 0; i<c.length();i++){
            f=c.charAt(i);
            a[i] = String.valueOf(f);
        }
        for(int i = 0; i<c.length();i++){
            int ran = rnd.nextInt(c.length());
            int r = ran;
            if(a[r]==null)i--;
            else {
            g = a[r];
            b[i]=g;
            a[r]=null;
            }
          
        }
        for(int i = 0; i<c.length(); i++){
            e += b[i];
        }

       
        return e;
    }