# -*- coding: utf-8 -*-
# <nbformat>3.0</nbformat>

# <codecell>

from LLNode import Node

class Stack:
    """Class for Stack, works on Last in First Out fashion.
    
    Attributes:
        top (Node): holds the value of top entry
        
    """
    
    def __init__(self):
        """creates the object of Stack"""
        self.top = None
        
    
    def is_empty(self):
        """checks if stack is empty.
        
        Returns:
            True/False
        """
        pass
    
    
    def push(self, value):
        """adds the entry to the stack.
        
        Attri:
            value (int): value to be added
        """
        pass
    
    
    def pop(self):
        """returns the element at top position and deletes the top entry.
        
        Returns:
            value (int): returns value at top position
        """
        pass
    
    
    def show(self):
        """prints the contents of stack from top -> bottom."""
        pass
    
    def peek(self):
        """returns the value at top position."""
        pass
    
    
    def sort(self):
        """sorts the stack contents."""
        pass
    
    
    if __name__ == "__main__":
        print "Welcome to the Stack demo....\n"

# <codecell>


