Image Retrieval using Histgrams