A computer model for simulating the growth of a population, or of two interacting populations