exercise 2: Leap year check