The double queue method: a numerical method for integrate-and-fire neuron networks