Change the ways to tokenize and to group exercises

Only exercises which share the same prefix have parent-child relations
Merge pull request #17 from OKU1987/oku/grouping

Change the ways to tokenize and group exercises