incrementor.py update from Matthew Wolf

The modification is to allow a loop in the incrementation. E.g., \i(100,-10, 50) replaces with numbers starting from 100, decrementing by -10, repeating after 50 is reached.