container.pl: can now generate constructors for an arbitary number