added the class CompareImages.java