Challening parts
Initial algorithm had individual states for each of the four lights. It worked, but if I have sixty lights it gets messy. Alternative code relies on the state of the counter only.
Things I learned here