Help with random numbers

This loop does not do what you expect:

Perhaps you meant to write

  for (int i = 0; i < 13; i++) {

You should avoid setting or using the serial TX and RX pins.