Date program (Assignment 2)