Solve anagrams.