Generating next set partition