Simulation of the SJF and SRTF CPU scheduling algorithms, implemented using Java.