Consecutive digit string read /w edge validt

1.To extend range of weight to ten hundred and more.....
2.AddEdge validation use to prevent add duplicate edge and check input
of adjacency matrix whether it right or not.