boolean placeDomino(int i) {
		if (i == D.length) {
			for (int d = 0; d < D.length; d++) {
				System.out.println(D[d]);
			}
			return true;
		}
		for (int x = 0; x < w; x++)
			for (int y = 0; y < h; y++) {
				if (tryPlace(i, x, y, x - 1, y) || tryPlace(i, x, y, x + 1, y) || tryPlace(i, x, y, x, y + 1)
						|| tryPlace(i, x, y, x, y - 1))
					return true;
			}

		return false;
	}