Add groupBy
Add haddock example for groupBy