https://tongfamily.com/2008/04/12/rewriting-the-anagram-program/
Rewriting the Anagram program