Changed calendar to table.
Changed calendar to table.
Added collision detection for overlapping task expansion.