Added the possibility to change the number of states of the cyclic cellular automata