public int[] findEdge(Cube cube, TileColor c1, TileColor c2) {
		for (int f = 0; f < 6; f++) {
			for (int x = 0; x < 3; x++) {
				for (int y = 0; y < 3; y++) {
					if ((x == 1 || y == 1) && !(x == 1 && y == 1)) {
						if (cube.getColor(cube.createArray(f, x, y)).equals(c1) && cube.getColor(Cube.getOthers(cube.createArray(f, x, y)).get(0)).equals(c2)) {
							return cube.createArray(f, x, y);
						}
					}
				}
			}
		}
		return cube.createArray(-1, -1, -1);
	}