Created logic for looping pixel comparison

Need to get the syntax straightened out. I know how to write this in
perl, but not python. Should be easy if I can get in a room alone with
paul and a whiteboard. Also, need to figure out how to get an array of
arrays (lol)