You can write
  for i in 0..(population.length-1)
as
  population.length.times do |i|
, and you might want to use true and false instead of 1 and 0 (0 and 1 
are both true in Ruby).


Tobi


-- 

* peace&love.
* http://www.pinkjuice.com/