Exercise 2 of the geo-scripting course. Objective is to write a simple function that determines whether a given year is a leap year or not.