Rudimentary genetic simulation, for fun