Code re-structuration. Grapth constructor is now working correctly