DBScan implementation. Working, just need to clean the code and maybe some optimization