Fix bug in ProblemGenerator.
Merge branch 'master' of github.com:akavrt/cutgen