State Transitions

Analyzing the entire problem, we get this structure:

When one solves the FWGC problem, one essentially creates this structure, or a part of it.