created CheckDigit2, bug fix to CheckDigit