Update lottery.rb