Added toString on Graph to make sure everything is all right