We're going to think of stable matching as a graph problem and there's going to be two sets of nodes, two sets of vertices, U and V. For historical reasons, we will call these sets the men and the women, respectively. 