Text this: Graph Theory Based N-1 Transmission Contingency Selection and Its Application in Security-constrained Unit Commitment