private boolean verticalAligned(int i, int j) {
		int height = grid.getHeight();
		int width = grid.getWidth();
		if (i < 0 || j < 0 || i >= height || j >= width-2)
			return false;
		if (grid.casesEqual(grid.getCase(i, j), grid.getCase(i, j + 1),
				grid.getCase(i, j + 2)))
			return true;
		return false;
	}