A credit card validator solution per https://gist.github.com/tatey/0773b67759483105e45f