refactoring easter.rb