--- from: http://rosettacode.org/wiki/Anagrams note: Text processing