Added graph connectivity check to TaxiGen