more inline code examples and a brand new groupBy function for the Collection class