Processor Scheduling algorithms implemented in python