3 d type flip flops tied together to control a 3 phase DC motor. LEDs act as an individual coil in the motor. The LED that's off would be the coil that's energized. The DPST switch is to load the flip flops with 1's then switched to run on its own because there's no set or reset on the flip flops.