class Stack(object):
    def __init__(self):
        """
        initialize your data structure here.
        """
        self.__queue = []

    def push(self, x):
        """
        :type x: int
        :rtype: nothing
        """
        self.__queue.append(x)

    def pop(self):
        """
        :rtype: nothing
        """
        p = self.__queue[-1]
        tmpQ = self.__queue[:-1]
        self.__queue = tmpQ
        return p
        

    def top(self):
        """
        :rtype: int
        """
        return self.__queue[-1]
        

    def empty(self):
        """
        :rtype: bool
        """
        return not self.__queue

Add solution for 232 implement queue using stack.
Add solution for 232 implement queue using stack.
