Text this: Improvement on agglomerative hierarchical clustering algorithm based on tree data structure with bidirectional approach