implements credit card validation
Merge pull request #465 from danielb2/creditcard

implements credit card validation