fn check_luhn(digits: &[u8]) -> Result<(), DigitsError>
Checks the last digit with the Luhn algorithm.