Modified reading the input (The number of vertices in the Edge List in an input file can be ommited.)