a simple yet efficient clustering algorithm