A quick search of this forum for "how to pick a random number" brings me to How to pick a random number between x and y. Adapt post #6 to your needs.