Initial version of groupby example