A simple program that determines the weekday of a given date