NATURAL CLUSTERING USING PYTHON