Second pass at anagram task