Dice game in java