Why don't you use compareTo instead of manual checking for different character. It will be more easy.
For example
count = Math.abs(words[x].compareTo(toCheck));
//It will return the difference of character in both string.
// Suppose words[x] = "abc" and toCheck = "adc" then count will be 1.