here is my data. I would like to group them into ten groups. with a minimal sum of var1 within-group and minimal variance of var2 across groups.