SAMPLE INPUT OUTPUT:
cc bgp.c
./a.out
Enter the number of nodes: 3
Enter the distance between the host 1 1:2
Enter the distance between the host 1 2:4
Enter the distance between the host 1 3:6
Enter the distance between the host 2 1:8
Enter the distance between the host 2 2:10
Enter the distance between the host 2 3:3
Enter the distance between the host 3 1:5
Enter the distance between the host 3 2:7
Enter the distance between the host 3 3:9
2 4 6
8 10 3
5 7 9
The output matrix is:
0 4 6
8 0 3
5 7 0