private static String randomize(char[] str, int count) {
if (str.length < 2 || count == 0) {
return String.valueOf(str);
}
int switch1 = (int)(Math.random() * str.length);
int switch2 = (int)(Math.random() * str.length);
if (switch1 == switch2) {
return randomize(str, count);
}
char temp = str[switch1];
str[switch1] = str[switch2];
str[switch2] = temp;
return randomize(str, count - 1);
}