Not set srand, because in a loop, the time is the same.
  Therefor the seed is the same.