'Extract list of sub-tree clusters from
hcluster tree with distance<dist.'

def extract_clusters(self, dist):

    if (self.distance < dist):
        return [self]
    return (self.left.extract_clusters(dist) + self.right.extract_clusters(dist))
