Create CreditCard.java

This file supplies the method isValid()