alternate solution for DiceSet class