I have an array of strings that represents the edges of a graph.
For example:
["6 11", "9 5", "11 9", &q