Add optics cluster algorithm code and demo

* Adapted to python 3 and scipy (instead of hcluster)