Simulator for spiking activity of a group of neurons