split examples into groups