Final code. Added algorithm description to newFlights under IGraph