A set of functions to check the validity of a credit card number
($number, $type) returns 1 if the account number is valid, zero if not
The $type argument is optional If included, it will perform additional checking to
ensure the card is of the type specified
Valid types include: VISA, Mastercard, Discover, and AMEX