Bug-fix:

 - Need to check if a processor patch has already been created
   by a previous operation, and if so, return the patch index
   corresponding to it.
 - Also need to check all processors (and not upto myProcNo),
   since a linear priority cannot be guaranteed.