private void update(int cycles) {
		if (cycles < 0) {
			while (true) {
				scape.step();
				addInfo(scape.grid[scape.mainPanel.xSelected][scape.mainPanel.ySelected]);
				scape.epochs++;
				String ep = "Epochs:  " + scape.epochs;
				epochsLabel.setText(ep);
			}
		}
		else {
			for (int c = 0; c < cycles; c++) {
				scape.step();
				addInfo(scape.grid[scape.mainPanel.xSelected][scape.mainPanel.ySelected]);
				scape.epochs++;
				String ep = "Epochs:  " + scape.epochs;
				epochsLabel.setText(ep);
				scape.mainPanel.update();
			}
		}
	}