adding graph reader
modified bfs code to create distance table itself for result output
removed some comment lines
removed code that adds Inf distance values to the end of the edge lists
adding helper tools