check_digit.py - Main code.

Simple python that does not require any extra modules.