cancel the array in canMeetDeadline() and change 0 to 1 incSlotsOccupied()