finished rollDice and showDice functions