Constructors in HW2
Calculatiing leap year and validating dates