A java program to simulate dice rolling