a simulation of simple animal behavior