code: def test():
      num_points, dim, k, cutoff, lower, upper = (
          500,
          10,
          50,
          0.001,
          0,
          2000,
      )
      points = [
          makeRandomPoint(dim, lower, upper) for i in range(num_points)
      ]
      clusters = kmeans(points, k, cutoff)
      # for c in clusters:
      #    print(c)
      return clusters
  
imports: import math, random
  from functools import reduce
label_desc: Use image node_id 5 for calling a global function with example usage: test() and returns: clusters