private static void readTable(BufferedReader in, double[][] table, int rows, int cols) throws IOException {
		for (int i = 0; i < rows - 1; i++) {
			String[] tmp = in.readLine().split(";");

			if (tmp[0].startsWith("=")) {
				for (int j = 0; j < cols; j++) {
					double input = Double.parseDouble(tmp[j + 1]);
					table[i][j] = -input;
					table[i + 1][j] = input; //missing >= , *(-1)??
				}
				table[i][cols - 1] = -table[i][cols - 1];
				table[i + 1][cols - 1] = -table[i + 1][cols - 1];
				i++;

			} else {
				boolean isGreater = tmp[0].startsWith("<");

				for (int j = 0; j < cols; j++) {
					double input = Double.parseDouble(tmp[j + 1]);
					table[i][j] = isGreater ? -input : input;
				}
				table[i][cols - 1] = -table[i][cols - 1];
			}
		}
	}