Added kmeans clustering and doctest
Add DBSCAN clustering