补充了stack打印方法,形式为"top->num1, num2]" 我不确定这么做是否规范
array and linked list.
Start to translate codes from Java to Python.