Ward's method hierarchical clustering algorithm initially described by Joe H. Ward, Jr., Go language version