Credit Card Validation using Hans Lahn's algorithm - Java