First werking version of group_by and summarise