Made the dice rolling code more object oriented.