Implemented image hashing for image comparison