Finished implementation of card_type method, integrated into valid? method on CreditCard class.