luhn.py : Refactoring