FCFS,SPN,Round Robin,SRT implemented in c