Added code for DBSCAN clustering