Agglomerative clustering example

It would be nice to see an example like this:

FeatureType p0, p1, p2, p3, p4, p5, p6, p7, p8;

//cluster 1
p0[0]= 0.0; p0[1]= 0.0; p0[2]= 0.0;
p1[0]= 0.1; p1[1]= 0.0; p1[2]= 0.0;
p2[0]= 0.0; p2[1]= 0.1; p2[2]= 0.0;

//cluster 2
p3[0]= 5.0; p3[1]= 5.0; p3[2]= 5.0;
p4[0]= 5.1; p4[1]= 5.0; p4[2]= 5.0;
p5[0]= 5.0; p5[1]= 5.1; p5[2]= 5.0;

//cluster 3
p6[0]= -5.0; p6[1]= -5.0; p6[2]= -5.0;
p7[0]= -5.1; p7[1]= -5.0; p7[2]= -5.0;
p8[0]= -5.0; p8[1]= -5.1; p8[2]= -5.0;

//use CLUTO to agglomerative cluster
//convert these input points into a form CLUTO can use
//do the clustering
//output the results

The manual is pretty comprehensive, but it doesn't seem to have any simple examples in code like this.

Thanks,

Dave