I am trying to write a function called `anagram()` and return the following output:

```
Example =  ['Creams', 'bart','bAtr', 'bar', 'rabt', 'Cars','creamsery', 'Scar', 'scream']

puts anagram(Example)

```

OUTPUT: 

```
 [["Creams", "scream"] ["bart", "bAtr", "rabt"], ["bar"], ["Cars","Scar"],["creamsery"]]

```

I know I can use:

```
Example[i].downcase.char.sort.join

```

to compare each element in the array, but I have a hard time grouping them all together inside a loop.