change to ProcessGenerator

the constructor now includes extra parameter,
-first parameter is for number of processes to create,
-second parameter is for the seed to random number generator