Tick generator using interval.

Close #1166.
i dont want a whole module for TickGenerators if there is only one