public Boolean[] getWillFlip(int x, int y){
		List<Boolean> willFlip = new ArrayList<>();
		try {
			willFlip.add(new Boolean(puzzle[y][x]));
		} catch (ArrayIndexOutOfBoundsException ex) {
			throw new RectangularPuzzleIndexOutOfBoundsException();
		}

		try {
			willFlip.add(new Boolean(puzzle[y][x + 1]));
		} catch (ArrayIndexOutOfBoundsException ex) {
		}

		try {
			willFlip.add(new Boolean(puzzle[y][x - 1]));
		} catch (ArrayIndexOutOfBoundsException ex) {
		}

		try {
			willFlip.add(new Boolean(puzzle[y + 1][x]));
		} catch (ArrayIndexOutOfBoundsException ex) {
		}

		try {
			willFlip.add(new Boolean(puzzle[y - 1][x]));
		} catch (ArrayIndexOutOfBoundsException ex) {
		}
		
		return (Boolean[])willFlip.toArray(new Boolean[0]);
	}