code cleanup on exercise LeapYear