programming pearls 2.5.1 :anagram