Added parameter 'pairs' to select the number of pair of ports

I added a parameter to select how many pairs of ports will be created. I needed more than 4 pairs.