Cpp Stack Functions Python Code For Games