
public class CellularAutomaton {
	
	public static final int SIZE = 120, NUM_LINES = 200;
	public static int[] rule = {0, 1, 1, 1, 1, 0, 0, 0};

	public static void main(String[] args) {
		int[] state = new int[SIZE];
		state[SIZE / 2] = 1;
		for (int i = 0; i < NUM_LINES; i++) {
			// TODO - print the state and replace it with the next state
			// according to https://mathworld.wolfram.com/CellularAutomaton.html
		}
	}

}
