Simple cellular automata test with SDL and C