Prevent user from add a task that has passed

Refactored logic test to fit the problem
Merge remote-tracking branch 'origin/create_logic'

Conflicts:
	src/Logic.java