Complete leap year calculation program