public static void main (String[] args)    {
    	
		final int ROLLS = 1000; // number of rolls

		//Declare six integer variables, one for each side
		int zero = 0;
		int one = 0;
		int two = 0;
		int three = 0;
		int four = 0;
		int five = 0;
		int six = 0;
		// Declare a Die class type variable called die and create a new Die object

		Die die = new Die();

		//
		// Roll the die as many times as indicated by ROLLS
		// For each side count the number of times it appears
		// 
		for (int i=1; i<= ROLLS; i++) {
		    //
            // Roll the die
            //
			die.roll();
			// Get the Die's face and increase by one the appropriate
			// variable
			if (die.getFace() == 0) {
				zero++;
			}
			if (die.getFace() == 1) {
				one++;
			}
			if (die.getFace() == 2) {
				two++;
			}
			if (die.getFace() == 3) {
				three++;
			}
			if (die.getFace() == 4) {
				four++;
			}
			if (die.getFace() == 5) {
				five++;
			}
			if (die.getFace() == 6) {
				six++;
			}

		}
		// Display the number of times each side has been thrown
		System.out.println("Zero:" + zero);
		System.out.println("One:" + one);
		System.out.println("Two:" + two);
		System.out.println("Three:" + three);
		System.out.println("Four:" + four);
		System.out.println("Five:" + five);
		System.out.println("Six:" + six);
		// Test the functionality of the method setFace
		//  1. Display the current value of the die's face
		System.out.println("Die's face:" + die);
		//  2. Use the method setFace to reset the die's face to 7
		die.setFace(7);
		//  3. Display the current value of the die's face
		System.out.println("Die's face:" + die);
		//  4. Use the method setFace to reset the die's face to 0
		die.setFace(0);
		//  5. Display the current value of the die's face
		System.out.println("Die's face:" + die);
		//  6. Use the method setFace to reset the die's face to 4
		die.setFace(4);
		//  7. Display the current value of the die's face
		System.out.println("Die's face:" + die);

    }