Updated name (creditcard => creditCard). Changed while to for
update test to include different lengths, letters, and test cards