initial work on the fire algorithm
Merge remote-tracking branch 'remotes/origin/master'