Anagram mechanizing