start constructing graph from input.txt

begin to code the _construct_graph function thate creates a graph from
input.txt
Problem with with __hash__ to fix