Code for piglow, which randomizes the blinking