Group Anagrams

Python3
Complete the method groupAnagrams

Your Logic: