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