Use Graphs To Find The Set