Added the capability of random dice throws for dice1.