Credit Card Processor in Java