Wrote credit card validation program