See all the above posts.

I actually translated the following into human and can respond:
Originally posted by purIn
srand(10); on top of the program -- // Init the random number generator with "10"...
i dun get it.. pls enlighten mi..
the '10' is a seed to the random number generator that makes the rand() function actually return random values. Every number that is passed will return a different list of numbers. The same number returns the same list. Therefore you are able to test your code easily knowing what random list is going to be returned.

To actually randomize the list, add the time.h header and change the statement to:
Code:
srand(time());
gd lk n yr pgmg ndvrs.