Implement Stack Using Arraylist Leetcode Python Solutions