Add group_by() and index_by()
Merge pull request #10 from nathancahill/functions

Add group_by() and index_by()