rolls a dice, basically a random number generator.