Create leapyear.rb

Program for calculating whether a given year is also a leap year