matches credit card network from user input
prevents users from exceeding credit card number length