Fix bug with algorithm

When we look at the choices that are better than the first letter, we
need to count the permutations excluding the letter under consideration.