I have a problem that I know how to solve (more or less) using a regular programming language in a non-optimal but good enough way. I want to get a list of groups of points