Added priority donation to sema_up () and next_thread_to_run (). Also changed for max_priority variables to be initialized at -1