Elementary Cellular Automata Implementation in C