Rolls the die and returns one outcome, selected with probability proportional to its weight.
a randomly selected outcome of type T.