Created generateLife function that will allow for embers to fly up from the flame.