This is a quick and dirty script written in Java to cluster cities modeled as 2D coordinates using hierarchical complete linkage clustering.