Added pseudo code that will allow the balloon to make a decision wether to remain at the same height, ascend or descend.