Added Intervals

You can now specify a list of time intervals in which a task must occur, instead of just a deadline. If you want to specity a deadline instead, use the DeadlineTask class.