Categorize exercises into groups