Implement Stack Using Arraylist Leetcode Solutions