Use mathematical base-10 digit extractor for credit card validator