MyStack, MyQueue implementations