rev 2: fix inputFileScanToInputArray

issue: n/a

inputFileScanToInputArray corrected to exit while when token is null.
Else every edge list had 0 to last entry.