Wrote a stack class poc_stack.py.