A simple content based image retrieval program in Java