Generates all the unique arrangements of connected hexagons of a given number.