leap_year: added more expect statements to test 4 numbers and changed algorithm