Adding py script for image processing.

Script taken from:
http://stackoverflow.com/questions/1819124/image-comparison-algorithm
by Perter Hansen