I uploaded this to an UNO, LEDs flash randomly i.e. as per code, what's not working for you?
CTRL T is done in the IDE.