public static void main(String[] arg) {

		// Balanced Tree:
		JuzerBranch<Integer> bRoot = new JuzerBranch<Integer>(3);

		JuzerBranch<Integer> bLeft = new JuzerBranch<Integer>(9);
		bRoot.setLeft(bLeft);
		bLeft.setParent(bRoot);

		JuzerBranch<Integer> bRight = new JuzerBranch<Integer>(11);
		bRoot.setRight(bRight);
		bRight.setParent(bRoot);

		JuzerBranch<Integer> bLeftLeft = new JuzerBranch<Integer>(6);
		bLeft.setLeft(bLeftLeft);
		bLeftLeft.setParent(bLeft);

		JuzerBranch<Integer> bLeftRight = new JuzerBranch<Integer>(4);
		bLeft.setRight(bLeftRight);
		bLeftRight.setParent(bLeft);

		JuzerBranch<Integer> bRightLeft = new JuzerBranch<Integer>(21);
		bRight.setLeft(bRightLeft);
		bRightLeft.setParent(bRight);

		JuzerBranch<Integer> bRightRight = new JuzerBranch<Integer>(1);
		bRight.setRight(bRightRight);
		bRightRight.setParent(bRight);

		BinaryJuzer<Integer> balancedTree = new BinaryJuzer<Integer>(bRoot);

		balancedTree.Test();

		balancedTree.rotateLeft(bLeft);

		balancedTree.Test();

		balancedTree.rotateRight(bRoot);

		balancedTree.Test();

		// Unbalanced Right Tree:
		/*
		 * JuzerBranch<Integer> unbrRoot = new JuzerBranch<Integer>(3);
		 * 
		 * JuzerBranch<Integer> unbrRight = new JuzerBranch<Integer>(11);
		 * unbrRoot.setRight(unbrRight);
		 * 
		 * 
		 * JuzerBranch<Integer> unbrRightRight = new JuzerBranch<Integer>(4);
		 * unbrRight.setRight(unbrRightRight);
		 * 
		 * 
		 * JuzerBranch<Integer> unbrRightRightRight = new
		 * JuzerBranch<Integer>(1);
		 * unbrRightRight.setRight(unbrRightRightRight);
		 * 
		 * BinaryJuzer<Integer> unbalancedRightTree = new
		 * BinaryJuzer<Integer>(unbrRoot);
		 * 
		 * unbalancedRightTree.Test();
		 * 
		 * //Unbalanced Left Tree: JuzerBranch<Integer> unblRoot = new
		 * JuzerBranch<Integer>(3);
		 * 
		 * JuzerBranch<Integer> unblLeft = new JuzerBranch<Integer>(11);
		 * unblRoot.setLeft(unblLeft);
		 * 
		 * 
		 * JuzerBranch<Integer> unblLeftLeft = new JuzerBranch<Integer>(4);
		 * unblLeft.setLeft(unblLeftLeft);
		 * 
		 * 
		 * JuzerBranch<Integer> unblLeftLeftLeft = new JuzerBranch<Integer>(1);
		 * unblLeftLeft.setLeft(unblLeftLeftLeft);
		 * 
		 * BinaryJuzer<Integer> unbalancedLeftTree = new
		 * BinaryJuzer<Integer>(unblRoot);
		 * 
		 * unbalancedLeftTree.Test();
		 */
	}