adding comments to NextIntegerSameDigit