Networks of integrate-and-fire neuron using rank order coding A: How to implement spike time dependent Hebbian plasticity