n-n-flexagons generator