Java image duplicate finder