fixed two small bugs in LeapYear.java