added dice

added a class to control dice rolling and random numbers