added SJF & simplified priority_npr