Simplify parsing of the input graph by pushing from
the ifstream directly into integer variables instead of
into strings which are later parsed into integers.

This only shaves about 1/100s off the total time thanks
to reduced allocation load, but the code looks much cleaner!