new methods to check the validity of a date, month and year input. Will be improved by V0.3 to check the validity of a deadline (i.e. not occurring in the past).

added unit tests for demo