Working on SRTF alg