Simple spiking neural network