A general iterative clustering algorithm. (31st January 2022)