Added Dice class and supporting libraries.