Implemented card number format checker.

Implemented card number format checker.