Added global variables for the port numbers of the switches.