Forest Dynamics Simulator using Multilayered Cellular Automata