Implement the first working example for three sets.
Refactor.
Another set of three example.
Refactor.
Refactor.