added functions to gregorian calender
merged date.h