Sequential blinking of LEDs in OOP

I only changed the loop function, the rest is the same