DBSCAN implemented (probably with errors)