added proper functionality to the dice class and roller.