# File lib/libgenetics.rb, line 46
  def mutate!(mutation_probability = 0.05)
    (0...@genome.length).each do |i|
      if rand(1) < mutation_probability
        if @genome[i] == 0
          @genome[i] = 1
        else
          @genome[i] = 0
        end
      end
    end
    @genome
  end