Патрикеев Сергей 2538

I'm using one-dimensional array to keep both state of automaton and colors of pixels to draw.