Revision to anagrams in fun_with_strings