Anagram planning