Update hw2.c
Merge pull request #1 from n-tucker/dateOK-function

Update hw2.c