Chapter12: More anagrams (merge)