A function to merge tow networks.

mergeNetwork(network1, network2)

Arguments

network1

The first network

network2

The second network.