weasel program

richard dawkins' classic thought experiment brought to life, without the need to overcome such difficulties as
"where can i find enough ink for an infinite number of typewriters?"
"will i have to read all of shakespeare's plays? what, even coriolanus?"
or, perhaps most pressing of all
"who's going to clean up after an infinite number of monkeys? not me, no sir"

mutation probability

number of generations

    Hamlet: Do you see yonder cloud that's almost in shape of a camel?
    Polonius: By the mass, and 'tis like a camel, indeed.
    Hamlet: Methinks it is like a weasel.

    Generation Fittest String Fitness