program accepts a year and returns true if year is a leap year.