Adding homework with a deadline check