Babwani’s Algorithm to find the day of the week from http://www.babwani-congruence.blogspot.co.uk/