First version of fixed prio preemptive scheduler