Anagram inelegantly