A credit card validator - ruby