Update MyStack.java

//Implement stack using array