c: v0.02 - malloc check + performance improvement. py: v1.01 - performance improvements

C version changes:
  added the missing malloc check
  performance inhancement for md5sum calculation.

Python changes:
  rewrote the md5sum routine to improve performance