luhn algoritm solution with credit to @jcasimir going for the gusto