Doing it with N+1 is completely trivial and super ...
# tornadofx
e
Doing it with N+1 is completely trivial and super elegant. Using cartsian product is also super easy and not much work at all.