A Computational Model for the Insect Brain