Here is an example of the network.config file
// Here is a sample network configuration file.
// The syntax should be clear.
// Comments must begin with "//"
Node 1 (sol23, 5630) links 4 2
Node 2 (nova5, 5033) links 1 3
Node 3 (sol13, 5768) links 4 2
// Blank lines are OK
Node 4 (sol23, 5001) links 1 3
//Node 5 (nova16, 2344) links 4 6
//Node 6 (nova16, 10203) links 5 1
You can assume the correctness (both syntax and content) of the configuration file in your code;
you can also assume the node number will always start from 1 then 2,3,....N where N is the
total number of nodes.