Added switch statement to determine card type for values over 10.