https://techabu.co/ict/fcfs-preemptive-scheduling-c-program-example/
FCFS Scheduling Algorithm (Preemptive) in OS With C++, C, and Python Program Example