Spikegenerator

We should use xrange here instead of range.