public BURodCutting(int n, int price[])
	{
		this.n = n;
		p = price;
		r = new int[price.length];
		cuts = new String[price.length];

		p[0] = 0;
		r[0] = 0;
		cuts[0] = "";

		for (int i = 1; i < price.length; i++)
			r[i] = Integer.MIN_VALUE;

		cutRod(n);
	}