Consider how this program might be reused. For example, generalizing the notion of a modulus counter.