Hash dice task

implementation class Dice
test and run the class