Randomly Alternate LED pins

ledPin1 = myPins[random(10,12)];

No, the array indexes are 0 and 1, not 10 and 11.