public Mirror (String gridDates, String gridStr) {
		height = Integer.parseInt(gridDates.split(" ")[0]);
		width = Integer.parseInt(gridDates.split(" ")[1]);
		distance = Integer.parseInt(gridDates.split(" ")[2]);
		grid = new byte[height][width];
		for (int row = 0; row < height; row++) {
			for (int column = 0; column < width; column++) {
				grid[row][column] = (byte)gridStr.charAt(column+(row*width));
			}
		}
	}