Add a difference generator that works for differences from 0 to 10.
Switch to an enumerator to share code between two generators.