An Extended Dbscan Clustering Algorithm