modify generation script program for concurrence more than 2 subtasks.
Merge pull request #90 from irvs/issue86

modify generation script program for concurrence more than 2 subtasks.