Hierarchical clustering techniques and classification applied in Content Based Image Retrieval (CBIR)