http://techiworks.com/find-duplicates-java-array/