Preemptive Priority Scheduling Algorithm Without Using Functions