The dbscan code with random data.