This is a simple solution that is used to validate the credit cards