Dude,
You trying to create instance of class that don't exits thatsy it showing error.
Dice dice1 = new Dice();
Dice dice2 = new Dice();
There is no Dice class present .....think about it then...