adding the Dice class