Liquid nitrogen now destroy fire

rewriting code using for loops