logpuzzle.py - solved Part C - Image Slice Descrambling