Create MyStack.java

Use ArrayList to achieve a stack