Elo Rating System in Ruby