Creditcard validation using the Luhn algorithm