Given a lsit of words determine wich words are anagrams