Algorithm of documents clustering based on minimum spanning tree