Change the ways to tokenize and to group exercises

Only exercises which share the same prefix have parent-child relations