replaced the constantly updating char array with Character.toString(guess.charAt(i)), should run faster now