Adding in SJF algorithm