The random function returns an integer, the max value for a 32 bit integer is 2147483647, thus, if you had more than 2147483647 indices, you could not reference a word at index 2147483648 now could you? It was an added bit of info I put in that really has no meaning here since you're not dealing with that many words.
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?
"it makes it harder for others to read, and even makes it harder for you to read if you have to come back to it weeks or months later" - Yes, this is what I initially mentioned.