srand takes an unsigned integer