public boolean isSquareGrid(){
		if(this.gridString.length() == 0){
			return false;
		}
		String[] gridLines = this.gridString.split("Z");
		//System.out.println(gridLines);
		for(int i = 0; i < gridLines.length; i++){
			gridLines[i].trim();
		}
		if(gridLines[0].length() == gridLines.length && 
				gridLines[1].length() == gridLines.length &&
				gridLines[2].length() == gridLines.length &&
				gridLines[3].length() == gridLines.length &&
				gridLines[4].length() == gridLines.length &&
				gridLines[4].length() == gridLines.length){
			//System.out.println("Inside if statement in isSquareGrid.");
			this.gridLines = gridLines;
			this.gridSize = gridLines.length;
			readStringInto2DArray();
			return true;
		} else {
			return false;
		}
	}