Updated Python2 version, ran PEP8.
Merged more code over from python3
Fixed loop iteration breakout in check_crc32
Fixed style issues (variable names)