Validate credit card was always a good programming exercise. I have added it to the mathematical code proposals.