Exercise #16 - Extending the Fire Model

Start with the Fire Model project we discussed in class:  FireModel.zip

Modify the program to simulate a light wind blowing to the east (toward the right side of the screen).  If a tree is on fire, then neighboring trees to the north, south, east, and west are still set on fire for the next time step.  However, if there is a tree 2 cells to the right, then it has a 50% chance of catching fire.  Additionally, if there is a tree 3 cells to the right, then it has a 25% chance of catching fire.

Make sure you don't try to access cells that exceed the width of the 2D array.

Your modified program should burn much more quickly and require a much lower density for fire to reach the right side of the forest.