public void update(Process process, Instruction instruction)
 {
     this.process = process;
     this.instruction = instruction;
 }
 void initiateProcesses(int numberOfProcesses)
 {
     processes = new Process[numberOfProcesses];
     for (int index = 0; index < numberOfProcesses; index++)
         processes[index] = new Process(index);
 }