Implemented a different way to change the ready queue when a process's priority changes.