Adding the preempt function for any impatient algorithms, and adding imp...

Ricky and I pair programmed to add in a preempt function that should work for all impatient algorithms. Also, we added the impatient priority algorithm.