Added an is leap year function.