leap year code chapter 7