public static Position getValidShiftPos(int index, int side) {
		if (index < 0 || index > 6 || index % 2 == 0)
			throw new IllegalArgumentException("Invalid index to insert.");

		if (side < 0 || side >= 4)
			throw new IllegalArgumentException("Invalid side of board");

		int col = -1;
		int row = -1;

		switch (side) {
		// Top
		case 0:
			col = index;
			row = 0;
			break;
		// Left
		case 1:
			col = 0;
			row = index;
			break;
		// Bottom
		case 2:
			col = index;
			row = 6;
			break;
		// Right
		case 3:
			col = 6;
			row = index;
			break;
		}

		return new Position(row, col);
	}