Implemented a Dice object