Simulation of simple models of animal behavior with a digital computer