a simple population simulator