update roll_dice function

added code.  Not sure how to test.