Chapter Example: Checking a number for repeated digits