An Ocaml program to compute weekday of a date, lecture schedules in a duration