Implement a card number parser