public boolean stateRight() throws Exception {
		int[] temp = new int[numbers.length + 1];
		int spaces=0;
		for (int i = 0; i < temp.length; ++i)
			temp[i] = 0;

		for (int i = 0; i < numbers.length; ++i) {
			int x = 0;

			if (!numbers[i].toString().equals(" ")) {
				
				x = new Integer(numbers[i].toString());

				if (x >= numbers.length || x < 1)
					return false;
				temp[x]++;
				if (temp[x] > 1)
					return false;
			} else {
				++spaces;
				temp[0]++;
				if (temp[0] > 1)
					return false;
			}

		}
		if(spaces>1)
			return false;
		return true;
	}