Add an error message if month is entered but not day or year
Fix some errors due to improprer initialization of month, day, and year
Refactoring date validation