public static boolean hasSquare(String[][] grid, int caseCount){
		for (int i = 0; i < grid.length; i++) {
			for(int j = 0; j < grid.length; j++){
				if(grid[i][j].equals("#")){
					if(hasNoSurroundingSquares(grid, i, j, caseCount))
						return false;
				}
			}
		}
		for (int i = 0; i < grid.length; i++) {
			for(int j = 0; j < grid.length; j++){
				if(grid[i][j].equals("#")){
					return checkForSquare(grid,i,j);
				}
			}
		}

		return false;
	}