nested cellular automata based epidemic simulation