private String getStringByLeftState(String state, String topOrBottom) {
		
		String fullRow = "";
		
		if (topOrBottom.equals("top")) {
			
			int index = topOfTableRow.indexOf(state);
			
			if (index == -1 ) return "";
			
			ArrayList<Boolean> row = topTable.get(index);
			
			for (Boolean rowItem : row ) {
				
				fullRow += rowItem;
				
			}
						
		} else if (topOrBottom.equals("bottom")) {
			
			int index = bottomOfTableRow.indexOf(state);
			
			if (index == -1 ) return "";
			
			ArrayList<Boolean> row = bottomTable.get(index);
			
			for (Boolean rowItem : row ) {
				
				fullRow += rowItem;
				
			}
			
		}
		
		return fullRow;
		
	}