getCardTypeA script to detect a credit card typeNEEDS MORE TESTINGPROBABLY SOME PATTERNS MUST BE DEFINED EARLIER THAN OTHERS