Working for FCFS, SRTF, SJF