default constructor to graph has been created
some bugs in read were fixe