From: Evolving small spiking neural networks to work as state machines for temporal pattern recognition