fix swap mistake in sjf, add hpf nonpreemptive