RCCN problems test instances generator in Java