add leap year ruby solution