reroll function in dice class