checks a credit card number for syntactic validity