The lifo stack at:
https://github.com/kennyledet/Algorithm-Implementations/blob/master/Depth_First_Search/Lua/Yonaba/utils/lifo.lua
Inserts aand removes from the begining of the array. this causes a renumbering of the array after each push or pop.
It is better to store the stack reversed, with the last element at the last position.