At first I had a very hard time writing the blinking code from Exercise 1 as a state machine. However, I saw my error was in the first conditional if statement.
My code is at the bottom.
I had a very easy time soldering the wires since I once had to fix some Dre Beats earphones.
Before soldering the ring, I twisted the cables to keep the cables immobile.