Implemented priority execution of processes