Credit card number valiation and identification app in ruby