Create Intermediate Node

This code needs to be run on all the intermediate nodes, be it just 2 nodes or thousands.