added a temporary module named globals to place the globals from perl scriptt
ported julianDayToGregorianDate
ported julianDayToModernDate