Density-Based Spatial Clustering - Coding problem | OneNoughtOne