Changed measure of priority from int to enum (priority in DeadlinePost class), continued.