This is an evolution simulation. Pretty simple. (not immediately intuitive though)
Check it out, download the simulation.The simulation is available for download HERE