Implement ArrayListStack.pop()