Computer simulations of neural networks