a primitive program to simulate evolution