corrects a bug for the method allocateQuantumProcess
corrects a small bug for LRU