Replace calculation of the set of permutations with rune histogram.

Represent a word using the histogram of it's runes, a word is an
anagram of another when it is not the same word and the same letters
occur with the same frequency.