Set the seed
To get different random numbers each time we run the program, we need to set the random number seed.
This is because random numbers use a starting number called the seed, and then apply a complicated formula to get each number after that.
Notice that we need to include ctime so that we can use the current system time as a starting point.