anagram with map and select