[new] given a list of words, group together anagrams