BZ added map implementation of anagram