kMC code for hopping models