Credit card number algorithm