Partial Implementation of SJF