Fix ipynb for py3k

The lines for checksum I took from pypng. Not 100% sure though because the pyvnc does not work for me (neither py3k and py 2.x). At least no more errors on python3.

You should probably check whether this does not break the code for you.