I bet it's a super simple answer. 

Say I have an array of attributes:

```
  var array = ['green','blue','red','purple','orange','yellow','magenta'];

```

How would I take values in this array and transfer them into 3 different groups? 
So it would look like

```
  firstGroup = green, blue, red
  secondGroup = purple, orange
  thirdGroup = yellow, magenta

```

Could I simply create some sort of for loop that uses the .push function? Or does the .push function not work that way?