Anagram permuting