Tuple storage.
Union-Find implementation.
Storing matchings of a graph.
Equality and toString implementations for tuple.