added CompareImages and complete working project.