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

I'm using one-dimensional array to keep both state of automaton and colors of pixels to draw.
since you've added some modificators, you should add private as well