Added group()

I added a group function, not sure if it is something you want to pull as it is just a convenience wrapper for reduce