Initialise the node['ports'] list in the the Node class