At the mo you have
for(counter4 = 0; counter4 > 5; counter4++) but I think you need
for(counter4 = 0; counter4 < 5; counter4++)
otherwise the loop will run zero times, because you are effectively saying:
1. assign the value 0 to counter4
2. do the following code while counter4 > 5 , which instantly fails because counter4 is < 5, so the following code doesn't get run at all.