Program to comare images