Example of density based clustering algorithm DBSCAN in PHP