Leap Year checking function

Checks the year if it is a leap year. Need to Test.