HIPAA National Provider Identifier (NPI) checksum verification functions in Python 2.x